package com.alogic.swagger;

import com.alogic.swagger.core.*;
import com.alogic.swagger.redoc.SwaggerTag;
import com.alogic.swagger.redoc.SwaggerTagGroup;
import com.alogic.xscript.Logiclet;
import com.alogic.xscript.plugins.Segment;

/**
 * Namespace
 *
 * @since 1.6.13.7 [20200812 duanyy] <br>
 */
public class Namespace extends Segment {
    public Namespace(String tag, Logiclet p) {
        super(tag, p);

        registerModule("sw-docs", SwaggerExternalDocs.class);
        registerModule("sw-yaml", SwaggerYaml.class);
        registerModule("sw-license", SwaggerLicense.class);
        registerModule("sw-contact", SwaggerContact.class);
        registerModule("sw-info", SwaggerInfo.class);
        registerModule("sw-path",SwaggerPath.class);
        registerModule("sw-operation",SwaggerOperation.class);
        registerModule("sw-response",SwaggerResponse.class);
        registerModule("sw-parameter",SwaggerParameter.class);
        registerModule("sw-parameter-content",SwaggerContent.class);
        registerModule("sw-schema",SwaggerSchema.class);
        registerModule("sw-property",SwaggerProperty.class);
        registerModule("sw-tag", SwaggerTag.class);
        registerModule("sw-tag-group", SwaggerTagGroup.class);
        registerModule("sw-component",SwaggerComponent.class);
        registerModule("sw-response-content",SwaggerContent.class);
        registerModule("sw-request",SwaggerRequest.class);
        registerModule("sw-request-content",SwaggerContent.class);
        registerModule("sw-server",SwaggerServer.class);
        registerModule("sw-server-variable",SwaggerServerVariable.class);
        registerModule("sw-response-header", SwaggerResponseHeader.class);
    }
}